-- GENERATED SPELL FOR [Flamesnorting Whelp] --


function spell0_1044(pUnit, Event) --@Fireball,n/a--
pUnit:FullCastSpellOnTarget(11839,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1044', 3000, 1)
end

function Sorts_1044(pUnit, Event)
local choix_sorts_1044 = math.random(0, 0)
if choix_sorts_1044 == 0 then
pUnit:RegisterEvent('spell0_1044', 1, 1)
end
end

function mob1044_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1044', math.random(1500, 3000), 1)
end

function mob1044_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1044_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1044_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1044, 1, 'mob1044_Action')
RegisterUnitEvent(1044, 2, 'mob1044_Leave')
RegisterUnitEvent(1044, 3, 'mob1044_Kill')
RegisterUnitEvent(1044, 4, 'mob1044_Die')
